import Vue from 'vue'
import App from './App'
import config from './config.js'
import fn from './common/util/methods.js'
import util from './common/util/util.js'
// 公用模板
import uniNavBar from './components/uni-nav-bar.vue'
import uniTarBar from './components/uni-tab-bar.vue'
import uniIcon from './components/uni-icon.vue'

Vue.component('uni-nav-bar', uniNavBar)
Vue.component('uni-tab-bar', uniTarBar)
Vue.component('uni-icon', uniIcon)

Vue.config.productionTip = false
Vue.prototype.config = config
Vue.prototype.$fn = fn
Vue.prototype.$util = util

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
